package com.jltx.storage.coroutinesdownloader

import kotlinx.coroutines.Deferred
import okhttp3.ResponseBody
import retrofit2.Call
import retrofit2.http.GET
import retrofit2.http.Streaming
import retrofit2.http.Url

/**
 * @author jltxseo
 *         Created by junlintianxia on 2020/04/19.
 */
interface BaseApiService {
    /**
     * 通用文件下载接口
     *
     * @param fileUrl
     * @return
     */
    @Streaming
    @GET
    fun downloadFile(@Url fileUrl: String?): Call<ResponseBody?>
}